<template>
    <div class="home">
        <h1>欢迎您----{{ userName }}</h1>
        <div class="wrapper" style="width: 100%;height: 300px;">
            <chart></chart>
        </div>
    </div>
</template>
<script>
import chart from "./chart.vue"
export default {
    name: 'home',
    components: {
        chart
    },
    data() {
        return {
            
        }
    },
    computed: {
        userName() {
            return this.$store.state?.account?.accountObject?.staffName;
        }
    },
    methods: {
        
    }
}
</script>